package com.test.controller.dto;

public class RespBaseDto<T> {
    /**
     * 返回是否正确
     */
    private  boolean isSuccess;
    /**
     * 错误码
     */
    private String errNo;
    /**
     * 错误信息
     */
    private  String errMsg;
    /**
     * 返回结果
     */
    private T data;

    public boolean isSuccess() {
        return isSuccess;
    }

    public void setSuccess(boolean success) {
        isSuccess = success;
    }

    public String getErrNo() {
        return errNo;
    }

    public void setErrNo(String errNo) {
        this.errNo = errNo;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
